<!DOCTYPE html>
<html lang="zh" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Chapter1 初识Vue.js</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="book in books">{{book.name}}</li>
        </ul>
    </div>
    <script>
        new Vue({
            el:'#app',
            data:{
                books:[
                    {name:'vue实战'},
                    {name:'JavaScript语言'},
                    {name:'Java程序设计'}
                ]
            }
        })
    </script>
</body>
</html>